package com.dartfar.workflow.service;

import java.util.List;

import com.dartfar.base.service.BaseService;
import com.dartfar.workflow.model.WorkflowEvents;
import com.dartfar.workflow.model.WorkflowTaskFunMount;


/**
 * 流程任务挂接服务
 * @author 王琦
 *
 */
public interface WorkflowTaskFunMountService extends BaseService<WorkflowTaskFunMount> {
	
	/**
	 * 根据流程定义ID获取流程事件分页列表
	 * @param id
	 * @param pageNo
	 * @param pageSize
	 * @return
	 */
	public List<WorkflowTaskFunMount> getListForPageByWorkflowProcessId(int id, int pageNo, int pageSize);

	/**
	 * 根据流程定义ID获取流程事件总数
	 * @param id
	 * @return
	 */
	public Long getCountByWorkflowProcessId(int id);
}
